cssnode: Catch case where a style didn't change
authorBenjamin Otte <otte@redhat.com>
Sat, 12 Dec 2015 01:09:01 +0000 (02:09 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 12 Dec 2015 01:16:04 +0000 (02:16 +0100)
commit2c613166771ea9118ebda91c311f11b3462330fb
tree3664cc911853e9ff5b21b4e691f090cf8ea1f8f6
parent971a277419800fbcaa9dafa8bb68fdb19d866aee
cssnode: Catch case where a style didn't change

Catch the case where a CSS style did not change and don't emit the
style-changed signal in that case.

This saves not only the emission of the signal, but also doesn't cause
invalidation in child nodes, which would previously get a PARENT_STYLE
gtk/gtkcssnode.c